* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow: hidden;
}

#gameCanvas {
    display: block;
    margin: 0 auto;
    background-color: #2a2a2a;
    border: 2px solid #4a4a4a;
}

#gameUI {
    position: relative;
    width: 800px;
    height: 600px;
    margin: 0 auto;
}

#scoreboard {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
    display: flex;
    gap: 20px;
    font-size: 18px;
}

#scoreboard div {
    color: #00ff00;
    font-weight: bold;
}

#startScreen, #gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    z-index: 20;
    border: 2px solid #00ff00;
}

#startScreen h1, #gameOver h1 {
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 32px;
}

#startScreen p, #gameOver p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

#startScreen p:last-child, #gameOver p:last-child {
    margin-top: 20px;
    color: #ff9900;
    font-weight: bold;
}